<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./lib/bootstrap-3.4.1-dist/css/bootstrap.css">
    <style>
        .container{
            /* width: 100%; */
            height: 200px;
            background-color: orange;
        }
        .container>div{
            height: 20px;
            background-color: red;
            margin: 2px;
        }
    </style>
</head>
<body>

    <div class="container">

        <div class="row">
            <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
            <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
          
            <!-- Add the extra clearfix for only the required viewport -->
            <div class="clearfix visible-xs-block"></div>
          
            <div class="col-xs-6 col-sm-2">.col-xs-6 .col-sm-3</div>
            <div class="col-xs-6 col-sm-2">.col-xs-6 .col-sm-3</div>
          </div>
    </div>



    <script>
        // localStorage.name = '张三',
        // localStorage.setItem('age','12')
        // console.log(localStorage.getItem('age'));

    </script>
</body>
</html>